Innovative Tableau by Ryan Sleeper
Author:Ryan Sleeper [Sleeper, Ryan]
Language: eng
Format: epub
Publisher: O'Reilly Media
Published: 2020-05-02T00:00:00+00:00
How to Group the Top N and Everything Else with Parameters and Sets
The first step to showing the dimension members of the Top N and grouping everything else into one line is to create a parameter for the Top N. This will eventually allow the end user to choose how many individual dimension members to show (i.e., Top 5, Top 6, Top 7).
The allowable options are flexible and up to you, but here’s one example in which I allow options between 5 and 20 in multiples of 5:
Next, create a set for the dimension you want to segment. For this tutorial, I will create a set out of the State dimension in the Sample – Superstore dataset. The set will be set up to show the Top N States by Profit measure.
To start a set, right-click the dimension and then, on the menu that opens, hover over create, and then click Set. The Create Set dialog box opens in which you can set the conditions for which states should be included in the set. Because we want to keep the Top N based on a specific measure, navigate to the third tab: Top.
Here you can choose a specific number to keep (the default is 10), but you can also click the drop-down arrow located to the right of the hard-coded value and choose our newly created Top N parameter. Based on our parameter settings, this will keep 5, 10, 15, or 20 states in the set depending on the current selection.
To finalize the set, we also want to change the measure that the set is based on to Profit.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Implementing Enterprise Observability for Success by Manisha Agrawal and Karun Krishnannair(7371)
Supercharging Productivity with Trello by Brittany Joiner(6631)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6421)
Mastering Tableau 2023 - Fourth Edition by Marleen Meier(6398)
Inkscape by Example by István Szép(6246)
Visualize Complex Processes with Microsoft Visio by David J Parker & Šenaj Lelić(5942)
Build Stunning Real-time VFX with Unreal Engine 5 by Hrishikesh Andurlekar(4940)
Design Made Easy with Inkscape by Christopher Rogers(4618)
Customizing Microsoft Teams by Gopi Kondameda(4154)
Linux Device Driver Development Cookbook by Rodolfo Giometti(3935)
Extending Microsoft Power Apps with Power Apps Component Framework by Danish Naglekar(3745)
Business Intelligence Career Master Plan by Eduardo Chavez & Danny Moncada(3720)
Salesforce Platform Enterprise Architecture - Fourth Edition by Andrew Fawcett(3623)
Pandas Cookbook by Theodore Petrou(3597)
The Tableau Workshop by Sumit Gupta Sylvester Pinto Shweta Sankhe-Savale JC Gillet and Kenneth Michael Cherven(3400)
TCP IP by Todd Lammle(2988)
Drawing Shortcuts: Developing Quick Drawing Skills Using Today's Technology by Leggitt Jim(2918)
Applied Predictive Modeling by Max Kuhn & Kjell Johnson(2879)
Exploring Microsoft Excel's Hidden Treasures by David Ringstrom(2859)
